package com.galgram.project.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.time.*;

import lombok.*;
import com.galgram.common.annotation.Excel;
import com.galgram.common.core.domain.BaseEntity;

/**
 * 用户收藏对象 fx_collect
 *
 * @author galgram
 * @date 2024-11-20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("fx_collect")
public class FxCollect extends BaseEntity {

    /**
     * 用户收藏id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 收藏类型(热门课程|教育头条)
     */
    @Excel(name = "收藏类型(热门课程|教育头条)")
    private String type;

    /**
     * 课程id
     */
    @Excel(name = "课程id")
    private Long courseId;

    /**
     * 头条新闻id
     */
    @Excel(name = "头条新闻id")
    private Long newsId;


}
